package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 厂商充值表
 * </p>
 *
 * @author WEN
 * @since 2024-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjFactoryRecharge对象", description="厂商充值表")
public class ZjFactoryRecharge implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "厂商ID")
    private Long factoryId;

    @ApiModelProperty(value = "充值单号")
    private String code;

    @ApiModelProperty(value = "充值金额")
    private BigDecimal money;

    @ApiModelProperty(value = "状态：1-待支付，2-已支付，3-已取消，4-已驳回")
    private Integer status;

    @ApiModelProperty(value = "充值方式：1-支付宝，2-微信，3-银联，4-对公支持，5-平台调整，6-线下支付")
    private Integer mode;

    @ApiModelProperty(value = "是否申请发票：0-否，1-是")
    @TableField("is_apply_invoice")
    private Boolean applyInvoice;

    @ApiModelProperty(value = "创建人类型：1-平台，2-品牌厂商")
    private Integer createEmpType;

    @ApiModelProperty(value = "申请人/创建人")
    private String createEmp;

    @ApiModelProperty(value = "支付充值时间")
    private Date paymentTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "取消人员名称")
    private String cancelEmp;

    @ApiModelProperty(value = "取消充值备注")
    private String cancelRemark;

    @ApiModelProperty(value = "取消时间")
    private Date cancelTime;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
